package com.mq.service;

import com.mq.dao2.Userdao;
import com.mq.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class UserServiceImpl {
	@Autowired
	private Userdao userdao;
	public User login(User user) {
		return userdao.login(user);
	}
}
